package com.logistics.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.easybuild.core.dao.AppBaseDao;
import cn.easybuild.core.service.StringPojoAppBaseServiceImpl;

import com.logistics.ExpressCompany;
import com.logistics.ExpressCompanyQueryParam;
import com.logistics.dao.ExpressCompanyDao;

@Service
public class ExpressCompanyServiceImpl extends StringPojoAppBaseServiceImpl<ExpressCompany> implements ExpressCompanyService {

	@Override
	public List<ExpressCompany> query(ExpressCompanyQueryParam param) {
		return dao.query(param);
	}
	
	private ExpressCompanyDao dao;

	@Autowired
	public void setDao(ExpressCompanyDao dao) {
		this.dao = dao;
	}

	@Override
	protected AppBaseDao<ExpressCompany, String> getDao() {
		return dao;
	}

}
